FROM centos:centos6

MAINTAINER sunyongjun <1289263571@qq.com>

RUN yum update -y
RUN yum -y install gcc gcc-c++ autoconf  zlib zlib-devel glibc glibc-devel glib2 glib2-devel l curl curl-devel
RUN yum -y install httpd
RUN echo "ServerName  localhost:80" >> /etc/httpd/conf/httpd.conf
EXPOSE 80
CMD ["/usr/sbin/apachectl","-D", "FOREGROUND"]